package com.example.home_app.http.base.onenetdevice

import java.util.*

/**
* Created by dell on 2021/8/12.
*/class Data {
    override fun toString(): String {
        return "Data{" +
                "unit='" + unit + '\'' +
                ", create_time=" + create_time +
                ", unit_symbol='" + unit_symbol + '\'' +
                ", update_at=" + update_at +
                ", id='" + id + '\'' +
                ", uuid='" + uuid + '\'' +
                ", current_value='" + current_value + '\'' +
                '}'
    }

    private var unit: String? = null
    private var create_time: Date? = null
    private var unit_symbol: String? = null
    private var update_at: Date? = null
    private var id: String? = null
    private var uuid: String? = null
    private var current_value: String? = null
    fun setUnit(unit: String?) {
        this.unit = unit
    }

    fun getUnit(): String? {
        return unit
    }

    fun setCreate_time(create_time: Date?) {
        this.create_time = create_time
    }

    fun getCreate_time(): Date? {
        return create_time
    }

    fun setUnit_symbol(unit_symbol: String?) {
        this.unit_symbol = unit_symbol
    }

    fun getUnit_symbol(): String? {
        return unit_symbol
    }

    fun setUpdate_at(update_at: Date?) {
        this.update_at = update_at
    }

    fun getUpdate_at(): Date? {
        return update_at
    }

    fun setId(id: String?) {
        this.id = id
    }

    fun getId(): String? {
        return id
    }

    fun setUuid(uuid: String?) {
        this.uuid = uuid
    }

    fun getUuid(): String? {
        return uuid
    }


    fun setCurrent_value(current_value: String?) {
        this.current_value = current_value
    }

    fun getCurrent_value(): String? {
        return current_value
    }
}